package com.example.nyf.entity;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Data
@ToString
public class SysRole {

    private Integer id;

    @NotNull(message = "角色名称不能为空")
    private String role_name;

    private String role_key;
    private Integer status;
    private String remark;

    private Integer add_user_id;

    private String add_user_name;

    private Integer add_time;
}
